<?php

 namespace com;

include "com/funcs/add.php";
 
$obj=new class implements  funcs\abc\comfunc{
     function echoPI($b)
     {
        echo "bbb\n".$b;
     }
};
$obj->echoPI(55);